package org.erp.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.erp.product.domain.dto.TransferDto;
import org.erp.product.domain.dto.TransferLogAddDto;
import org.erp.product.domain.entity.TransferLog;
import org.erp.product.infrastructure.enums.ConnectEventEnum;
import org.erp.product.infrastructure.enums.EventCodeEnum;
import org.erp.product.infrastructure.enums.InspectionEventEnum;
import org.erp.product.infrastructure.enums.RepairEventEnum;

/**
 * 维修调拨记录服务层
 *
 * @author libin
 * @version 1.0
 * @description: 维修调拨记录服务层
 * @date 2025/11/13 17:59
 **/
public interface TransferLogService extends IService<TransferLog> {

    void repairSaveBatch(TransferDto transferDto, TransferLogAddDto transferLogAddDto, EventCodeEnum eventCodeEnum, RepairEventEnum repairEventEnum);

    void inspectionSaveBatch(TransferDto transferDto, TransferLogAddDto transferLogAddDto, EventCodeEnum eventCodeEnum, InspectionEventEnum inspectionEventEnum);

    void saveBatch(TransferLogAddDto transferLogAddDto, EventCodeEnum connect, ConnectEventEnum connection);
}
